package com.nbst.service.api.impl;

import java.util.List;
import java.util.Map;

import com.nbst.comnutil.NormalResult;
import com.nbst.dao.mapper.mes.PrintModelMapper;
import com.nbst.model.api.PrintModel;
import com.nbst.service.api.PrintModelService;
import com.nbst.service.base.impl.BaseServiceImpl;

import org.springframework.stereotype.Service;

/**
 * @author wangwt
 * @description 打印模板service
 * @since 2021-04-15
 **/
@Service
public class PrintModelServiceImpl extends BaseServiceImpl<PrintModel, PrintModelMapper> implements PrintModelService{


    /**
     * 打印模板下拉
     * @return
     */
    @Override
    public List<PrintModel> queryPrintModelDropDown() {
        return super.getMapper().queryPrintModelDropDown();
    }

    @Override
	public NormalResult findByCondition(Map<String,Object> map, Integer offset, Integer row) {
		return super.findByCondition(map, offset, row);
	}

	@Override
	public NormalResult insertSelective(PrintModel t) {
		return super.insertSelective(t);
	}

	@Override
	public NormalResult updateByPrimaryKeySelective(PrintModel t) {
		return super.updateByPrimaryKeySelective(t);
	}

	@Override
	public NormalResult deleteByPrimaryKey(Object t) {
		return super.deleteByPrimaryKey(t);
	}

	@Override
	public PrintModel findPrintModel(Map queryWrapper) {
		return super.getMapper().findPrintModel(queryWrapper);
	}
}
